package thread_ex;

public class ThreadWaitTest {

	public static void main(String[] args) {
		Message obj = new Message();//Thread 간의 공유자원이 될 객체
		ReadThread1 rt = new ReadThread1(obj);
		WritThread1 wt = new WritThread1(obj);
		
		rt.start();
		wt.start();
	}
}
